package cn.edu.nju.software.smartup.data;

import android.app.Activity;

public class link {
	
	private application app;
	private action action;
	
	public link(){
		
	}
	public link(application app,action action){
		this.app = app;
		this.action = action;
	}
	public application getApp() {
		return app;
	}
	public void setApp(application app) {
		this.app = app;
	}
	public action getAction() {
		return action;
	}
	public void setAction(action action) {
		this.action = action;
	}
	
	public String getAppDescrption(Activity activity){
		return app.getDescription(activity);
	}
	
	public String getActionDesc(){
		return action.getDesc();
	}
}
